package tests.genericInstanceof;

import java.util.LinkedList;

public class Main {
	LinkedList<Integer> listint = new LinkedList<>();
	LinkedList<Double> listdouble = new LinkedList<>();
	
	public static void main(String[] args) {
		Main test = new Main();
		System.out.println(test.listint.getClass().toString());
		System.out.println(test.listdouble.getClass().toString());
		
	}
	
	public void printType(LinkedList<Integer> test) {
		System.out.println("integer");
	}
	
	public void printType(LinkedList<Double> test) {
		System.out.println("double");
	}
	
	
}
